/*------------------------------------------------------------------------------
 * Copyright 2012 NCR Corporation
 *------------------------------------------------------------------------------
 * All revision information is updated automatically from source code control
 * change records - please do not manually edit.
 *------------------------------------------------------------------------------
 *
 * $LastChangedRevision:: 1585                                     $
 * $LastChangedBy:: rb250096                                       $
 * $LastChangedDate:: 2012-02-22 08:00:30 -0500 (Wed, 22 Feb 2012) $
 */

package com.ncr.nep.dashboardcore.rest.client;

/**
 * Exception representing an error message returned in a HTTP response from the
 * server when a request fails.  This is used when the Content-Type returned
 * from the server upon the request error is <code>text/plain</code>.
 *
 * @author rb250096
 * @version $Revision: 1585 $
 */
public class PlainTextException extends Exception {

	//--------------------------------------------------------------------------
    //
    //  Fields
    //
    //--------------------------------------------------------------------------
	
	/**
	 * Serialization ID. 
	 */
	private static final long serialVersionUID = 1L;
	
    //--------------------------------------------------------------------------
    //
    //  Constructors
    //
    //--------------------------------------------------------------------------

    /**
     * Constructor
     */
    public PlainTextException() {
    }

    /**
     * Constructor
     *
     * @param s The exception error message.
     */
    public PlainTextException(String s) {
        super(s);
    }

    /**
     * Constructor
     *
     * @param s The exception error message.
     * @param throwable Throwable that caused the exception.
     */
    public PlainTextException(String s, Throwable throwable) {
        super(s, throwable);
    }

    /**
     * Constructor
     *
     * @param throwable Throwable that caused the exception.
     */
    public PlainTextException(Throwable throwable) {
        super(throwable);
    }
}
